home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / prolog / ai.prl / opnprlg1.hqx / Open Prolog / Open Prolog.rsrc / CODE_4_initialise.txt < prev    next >
Text File  |  1993-04-15  |  48KB  |  814 lines

  1. # near model CODE resource
  2. # entry label at 0x0000
  3. export_261:
  4. entry:
  5. 00000000  4E56 FEFC                link       A6, -0x0104
  6. 00000004  4FEF FFFE                lea.l      A7, [A7 - 0x2]
  7. 00000008  202D FDD2                move.l     D0, [A5 - 0x22E]
  8. 0000000C  0480 0001 0000           subi.l     D0, 0x10000
  9. 00000012  2F00                     move.l     -[A7], D0
  10. 00000014  4EAD 0C4A                jsr        [A5 + 0xC4A]
  11. 00000018  1B5F FDD7                move.b     [A5 - 0x229], [A7]+
  12. 0000001C  4FEF FFFC                lea.l      A7, [A7 - 0x4]
  13. 00000020  4EAD 0032                jsr        [A5 + 0x32]
  14. 00000024  205F                     movea.l    A0, [A7]+
  15. 00000026  208D                     move.l     [A0], A5
  16. 00000028  41ED 002A                lea.l      A0, [A5 + 0x2A]
  17. 0000002C  A04B                     trap       SetGrowZone
  18. 0000002E  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  19. 00000032  6708                     beq        +0xA /* 0000003C */
  20. 00000034  487A 0288                pea.l      [PC + 0x288 /* 000002BE */]
  21. 00000038  4EAD 0CD2                jsr        [A5 + 0xCD2]
  22. label0000003C:
  23. 0000003C  548F                     addq.l     A7, 2
  24. 0000003E  2B7C 0000 0006 E6E4      move.l     [A5 - 0x191C], 0x6
  25. 00000046  42AD E6E8                clr.l      [A5 - 0x1918]
  26. 0000004A  2B7C 0000 0032 E6DC      move.l     [A5 - 0x1924], 0x32 /* '2' */
  27. 00000052  2B7C 0000 0064 E6E0      move.l     [A5 - 0x1920], 0x64 /* 'd' */
  28. 0000005A  4FEF FFFC                lea.l      A7, [A7 - 0x4]
  29. 0000005E  3F3C 0082                move.w     -[A7], 0x82
  30. 00000062  3F3C 0003                move.w     -[A7], 0x3
  31. 00000066  4EAD 0BB2                jsr        [A5 + 0xBB2]
  32. 0000006A  2B5F E94C                move.l     [A5 - 0x16B4], [A7]+
  33. 0000006E  41ED 09FA                lea.l      A0, [A5 + 0x9FA]
  34. 00000072  2B48 E87A                move.l     [A5 - 0x1786], A0
  35. 00000076  2B48 E87E                move.l     [A5 - 0x1782], A0
  36. 0000007A  426D E954                clr.w      [A5 - 0x16AC]
  37. 0000007E  426D E874                clr.w      [A5 - 0x178C]
  38. 00000082  42AD E930                clr.l      [A5 - 0x16D0]
  39. 00000086  42AD E934                clr.l      [A5 - 0x16CC]
  40. 0000008A  42AD E938                clr.l      [A5 - 0x16C8]
  41. 0000008E  42AD E93C                clr.l      [A5 - 0x16C4]
  42. 00000092  42AD E940                clr.l      [A5 - 0x16C0]
  43. 00000096  42AD E944                clr.l      [A5 - 0x16BC]
  44. 0000009A  42AD E948                clr.l      [A5 - 0x16B8]
  45. 0000009E  422D CEB0                clr.b      [A5 - 0x3150]
  46. 000000A2  1B7C 0003 E863           move.b     [A5 - 0x179D], 0x3
  47. 000000A8  42AD E956                clr.l      [A5 - 0x16AA]
  48. 000000AC  422D E6CC                clr.b      [A5 - 0x1934]
  49. 000000B0  42AD E6EC                clr.l      [A5 - 0x1914]
  50. 000000B4  422D E9AC                clr.b      [A5 - 0x1654]
  51. 000000B8  422D E9AD                clr.b      [A5 - 0x1653]
  52. 000000BC  422D E9AE                clr.b      [A5 - 0x1652]
  53. 000000C0  422D E9AF                clr.b      [A5 - 0x1651]
  54. 000000C4  4FEF FFFE                lea.l      A7, [A7 - 0x2]
  55. 000000C8  A994                     trap       CurResFile
  56. 000000CA  3F38 0A60                move.w     -[A7], [0x00000A60 /* ResErr */]
  57. 000000CE  6708                     beq        +0xA /* 000000D8 */
  58. 000000D0  487A 01EC                pea.l      [PC + 0x1EC /* 000002BE */]
  59. 000000D4  4EAD 0CD2                jsr        [A5 + 0xCD2]
  60. label000000D8:
  61. 000000D8  548F                     addq.l     A7, 2
  62. 000000DA  3B5F FDE0                move.w     [A5 - 0x220], [A7]+
  63. 000000DE  4267                     clr.w      -[A7]
  64. 000000E0  A974                     trap       Button
  65. 000000E2  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  66. 000000E6  6708                     beq        +0xA /* 000000F0 */
  67. 000000E8  487A 01D4                pea.l      [PC + 0x1D4 /* 000002BE */]
  68. 000000EC  4EAD 0CD2                jsr        [A5 + 0xCD2]
  69. label000000F0:
  70. 000000F0  548F                     addq.l     A7, 2
  71. 000000F2  301F                     move.w     D0, [A7]+
  72. 000000F4  670E                     beq        +0x10 /* 00000104 */
  73. 000000F6  40E7                     move.w     -[A7], SR
  74. 000000F8  3F3C 0009                move.w     -[A7], 0x9 /* '\t' */
  75. 000000FC  487A 01DA                pea.l      [PC + 0x1DA /* 000002D8, pstring "You called, Oh Great One?" */]
  76. 00000100  4EAD 0B62                jsr        [A5 + 0xB62]
  77. label00000104:
  78. 00000104  2F3C 0000 000C           move.l     -[A7], 0xC
  79. 0000010A  42A7                     clr.l      -[A7]
  80. 0000010C  42A7                     clr.l      -[A7]
  81. 0000010E  3F3C 0019                move.w     -[A7], 0x19
  82. 00000112  4EAD 0CF2                jsr        [A5 + 0xCF2]
  83. 00000116  201F                     move.l     D0, [A7]+
  84. 00000118  2F3C 0000 000C           move.l     -[A7], 0xC
  85. 0000011E  42A7                     clr.l      -[A7]
  86. 00000120  42A7                     clr.l      -[A7]
  87. 00000122  3F3C 0019                move.w     -[A7], 0x19
  88. 00000126  4EAD 09FA                jsr        [A5 + 0x9FA]
  89. 0000012A  201F                     move.l     D0, [A7]+
  90. 0000012C  2F3C 0000 000C           move.l     -[A7], 0xC
  91. 00000132  42A7                     clr.l      -[A7]
  92. 00000134  42A7                     clr.l      -[A7]
  93. 00000136  3F3C 0019                move.w     -[A7], 0x19
  94. 0000013A  4EAD 0B5A                jsr        [A5 + 0xB5A]
  95. 0000013E  201F                     move.l     D0, [A7]+
  96. 00000140  4FEF FFF8                lea.l      A7, [A7 - 0x8]
  97. 00000144  4EAD 0CDA                jsr        [A5 + 0xCDA]
  98. 00000148  2B5F FDDC                move.l     [A5 - 0x224], [A7]+
  99. 0000014C  2B5F FDD8                move.l     [A5 - 0x228], [A7]+
  100. 00000150  4FEF FFFE                lea.l      A7, [A7 - 0x2]
  101. 00000154  2F3C 434F 4445           move.l     -[A7], 0x434F4445 /* 'CODE' */
  102. 0000015A  A80D                     trap       Count1Resources
  103. 0000015C  3F38 0A60                move.w     -[A7], [0x00000A60 /* ResErr */]
  104. 00000160  6708                     beq        +0xA /* 0000016A */
  105. 00000162  487A 015A                pea.l      [PC + 0x15A /* 000002BE */]
  106. 00000166  4EAD 0CD2                jsr        [A5 + 0xCD2]
  107. label0000016A:
  108. 0000016A  548F                     addq.l     A7, 2
  109. 0000016C  7000                     moveq.l    D0, 0x00
  110. 0000016E  301F                     move.w     D0, [A7]+
  111. 00000170  E580                     asl        D0, 2
  112. 00000172  A11E                     trap       NewPtr, flags=1
  113. 00000174  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  114. 00000178  6708                     beq        +0xA /* 00000182 */
  115. 0000017A  487A 0142                pea.l      [PC + 0x142 /* 000002BE */]
  116. 0000017E  4EAD 0CD2                jsr        [A5 + 0xCD2]
  117. label00000182:
  118. 00000182  548F                     addq.l     A7, 2
  119. 00000184  2B48 FDE2                move.l     [A5 - 0x21E], A0
  120. 00000188  4FEF FFFC                lea.l      A7, [A7 - 0x4]
  121. 0000018C  2F3C 434F 4445           move.l     -[A7], 0x434F4445 /* 'CODE' */
  122. 00000192  4267                     clr.w      -[A7]
  123. 00000194  A81F                     trap       Get1Resource
  124. 00000196  3F38 0A60                move.w     -[A7], [0x00000A60 /* ResErr */]
  125. 0000019A  6708                     beq        +0xA /* 000001A4 */
  126. 0000019C  487A 0120                pea.l      [PC + 0x120 /* 000002BE */]
  127. 000001A0  4EAD 0CD2                jsr        [A5 + 0xCD2]
  128. label000001A4:
  129. 000001A4  548F                     addq.l     A7, 2
  130. 000001A6  2057                     movea.l    A0, [A7]
  131. 000001A8  A029                     trap       HLock
  132. 000001AA  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  133. 000001AE  6708                     beq        +0xA /* 000001B8 */
  134. 000001B0  487A 010C                pea.l      [PC + 0x10C /* 000002BE */]
  135. 000001B4  4EAD 0CD2                jsr        [A5 + 0xCD2]
  136. label000001B8:
  137. 000001B8  548F                     addq.l     A7, 2
  138. 000001BA  A025                     trap       GetHandleSize
  139. 000001BC  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  140. 000001C0  6708                     beq        +0xA /* 000001CA */
  141. 000001C2  487A 00FA                pea.l      [PC + 0xFA /* 000002BE */]
  142. 000001C6  4EAD 0CD2                jsr        [A5 + 0xCD2]
  143. label000001CA:
  144. 000001CA  548F                     addq.l     A7, 2
  145. 000001CC  2250                     movea.l    A1, [A0]
  146. 000001CE  0480 0000 0010           subi.l     D0, 0x10
  147. 000001D4  E688                     lsr        D0, 3
  148. 000001D6  2600                     move.l     D3, D0
  149. 000001D8  5383                     subq.l     D3, 1
  150. 000001DA  246D FDE2                movea.l    A2, [A5 - 0x21E]
  151. 000001DE  43E9 000C                lea.l      A1, [A1 + 0xC]
  152. 000001E2  323C 0001                move.w     D1, 0x1
  153. label000001E6:
  154. 000001E6  43E9 0008                lea.l      A1, [A1 + 0x8]
  155. 000001EA  B251                     cmp.w      D1, [A1]
  156. 000001EC  5BCB FFF8                dbmi       D3, -0xA /* 000001E6 */
  157. 000001F0  6A00 0082                bpl        +0x84 /* 00000274 */
  158. 000001F4  3211                     move.w     D1, [A1]
  159. 000001F6  48E7 0080                movem.l    -[A7], A0
  160. 000001FA  4FEF FFFC                lea.l      A7, [A7 - 0x4]
  161. 000001FE  2F3C 434F 4445           move.l     -[A7], 0x434F4445 /* 'CODE' */
  162. 00000204  3F01                     move.w     -[A7], D1
  163. 00000206  A81F                     trap       Get1Resource
  164. 00000208  3F38 0A60                move.w     -[A7], [0x00000A60 /* ResErr */]
  165. 0000020C  6708                     beq        +0xA /* 00000216 */
  166. 0000020E  487A 00AE                pea.l      [PC + 0xAE /* 000002BE */]
  167. 00000212  4EAD 0CD2                jsr        [A5 + 0xCD2]
  168. label00000216:
  169. 00000216  548F                     addq.l     A7, 2
  170. 00000218  2057                     movea.l    A0, [A7]
  171. 0000021A  4FEF FFFE                lea.l      A7, [A7 - 0x2]
  172. 0000021E  2F08                     move.l     -[A7], A0
  173. 00000220  A9A6                     trap       GetResAttrs
  174. 00000222  3F38 0A60                move.w     -[A7], [0x00000A60 /* ResErr */]
  175. 00000226  6708                     beq        +0xA /* 00000230 */
  176. 00000228  487A 0094                pea.l      [PC + 0x94 /* 000002BE */]
  177. 0000022C  4EAD 0CD2                jsr        [A5 + 0xCD2]
  178. label00000230:
  179. 00000230  548F                     addq.l     A7, 2
  180. 00000232  341F                     move.w     D2, [A7]+
  181. 00000234  205F                     movea.l    A0, [A7]+
  182. 00000236  A069                     trap       HGetState
  183. 00000238  0800 0007                btst.b     D0, 0x7
  184. 0000023C  6614                     bne        +0x16 /* 00000252 */
  185. 0000023E  2F08                     move.l     -[A7], A0
  186. 00000240  A9A3                     trap       ReleaseResource
  187. 00000242  3F38 0A60                move.w     -[A7], [0x00000A60 /* ResErr */]
  188. 00000246  6708                     beq        +0xA /* 00000250 */
  189. 00000248  487A 0074                pea.l      [PC + 0x74 /* 000002BE */]
  190. 0000024C  4EAD 0CD2                jsr        [A5 + 0xCD2]
  191. label00000250:
  192. 00000250  548F                     addq.l     A7, 2
  193. label00000252:
  194. 00000252  4CDF 0100                movem.l    A0, [A7]+
  195. 00000256  0802 0004                btst.b     D2, 0x4
  196. 0000025A  6614                     bne        +0x16 /* 00000270 */
  197. 0000025C  7000                     moveq.l    D0, 0x00
  198. 0000025E  3038 0934                move.w     D0, [0x00000934 /* CurJTOffset */]
  199. 00000262  D089                     add.l      D0, A1
  200. 00000264  9090                     sub.l      D0, [A0]
  201. 00000266  0480 0000 0012           subi.l     D0, 0x12
  202. 0000026C  D08D                     add.l      D0, A5
  203. 0000026E  24C0                     move.l     [A2]+, D0
  204. label00000270:
  205. 00000270  51CB FF74                dbf        D3, -0x8E /* 000001E6 */
  206. label00000274:
  207. 00000274  A02A                     trap       HUnlock
  208. 00000276  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  209. 0000027A  6708                     beq        +0xA /* 00000284 */
  210. 0000027C  487A 0040                pea.l      [PC + 0x40 /* 000002BE */]
  211. 00000280  4EAD 0CD2                jsr        [A5 + 0xCD2]
  212. label00000284:
  213. 00000284  548F                     addq.l     A7, 2
  214. 00000286  A9A3                     trap       ReleaseResource
  215. 00000288  3F38 0A60                move.w     -[A7], [0x00000A60 /* ResErr */]
  216. 0000028C  6708                     beq        +0xA /* 00000296 */
  217. 0000028E  487A 002E                pea.l      [PC + 0x2E /* 000002BE */]
  218. 00000292  4EAD 0CD2                jsr        [A5 + 0xCD2]
  219. label00000296:
  220. 00000296  548F                     addq.l     A7, 2
  221. 00000298  206D FDE2                movea.l    A0, [A5 - 0x21E]
  222. 0000029C  200A                     move.l     D0, A2
  223. 0000029E  9088                     sub.l      D0, A0
  224. 000002A0  A020                     trap       SetPtrSize
  225. 000002A2  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  226. 000002A6  6708                     beq        +0xA /* 000002B0 */
  227. 000002A8  487A 0014                pea.l      [PC + 0x14 /* 000002BE */]
  228. 000002AC  4EAD 0CD2                jsr        [A5 + 0xCD2]
  229. label000002B0:
  230. 000002B0  548F                     addq.l     A7, 2
  231. 000002B2  42AD EB42                clr.l      [A5 - 0x14BE]
  232. 000002B6  42AD EB46                clr.l      [A5 - 0x14BA]
  233. 000002BA  4E5E                     unlink     A6
  234. 000002BC  4E75                     rts
  235. 000002BE  9750                     sub.w      [A0], D3
  236. 000002C0  5245                     addq.w     D5, 1
  237. 000002C2  414C                     chk.w      D0, A4
  238. 000002C4  4C4F 4341                movem.l    A6,A1,A0,D6,D0, A7
  239. 000002C8  5449                     addq.w     A1, 2
  240. 000002CA  4F4E                     chk.w      D7, A6
  241. 000002CC  494E                     chk.w      D4, A6
  242. 000002CE  4954                     chk.w      D4, [A4]
  243. 000002D0  4941                     chk.w      D4, D1
  244. 000002D2  4C49 5345                movem.l    A6,A4,A1,A0,D6,D2,D0, A1
  245. 000002D6  0000 1959                ori.b      D0, 0x59 /* 'Y' */
  246. 000002DA  6F75                     ble        +0x77 /* 00000351 */
  247. 000002DC  2063                     movea.l    A0, -[A3]
  248. 000002DE  616C                     bsr        +0x6E /* 0000034C */
  249. 000002E0  6C65                     bge        +0x67 /* 00000347 */
  250. 000002E2  642C                     bcc        +0x2E /* 00000310 */
  251. 000002E4  204F                     movea.l    A0, A7
  252. 000002E6  6820                     bvc        +0x22 /* 00000308 */
  253. 000002E8  4772 6561 7420           chk.w      D3, [[A2 + 0x7420]]
  254. 000002EE  4F6E 653F                chk.w      D7, [A6 + 0x653F]
  255. export_262:
  256. 000002F2  4E56 FFF4                link       A6, -0x000C
  257. 000002F6  4EAD 0B9A                jsr        [A5 + 0xB9A]
  258. 000002FA  202D CEB2                move.l     D0, [A5 - 0x314E]
  259. 000002FE  2B40 E8A4                move.l     [A5 - 0x175C], D0
  260. 00000302  2240                     movea.l    A1, D0
  261. 00000304  222D EFF2                move.l     D1, [A5 - 0x100E]
  262. label00000308:
  263. 00000308  4299                     clr.l      [A1]+
  264. 0000030A  5381                     subq.l     D1, 1
  265. 0000030C  66FA                     bne        -0x4 /* 00000308 */
  266. 0000030E  2B49 E8A8                move.l     [A5 - 0x1758], A1
  267. // begin alternate branch 00000310-00000312
  268. label00000310:
  269. 00000310  E8A8                     lsr        D0, D4
  270. // end alternate branch 00000310-00000312
  271. label00000310: // (misaligned)
  272. 00000312  42AD E8B4                clr.l      [A5 - 0x174C]
  273. 00000316  42AD E8B8                clr.l      [A5 - 0x1748]
  274. 0000031A  4299                     clr.l      [A1]+
  275. 0000031C  4259                     clr.w      [A1]+
  276. 0000031E  4219                     clr.b      [A1]+
  277. 00000320  4219                     clr.b      [A1]+
  278. 00000322  4259                     clr.w      [A1]+
  279. 00000324  4299                     clr.l      [A1]+
  280. 00000326  4259                     clr.w      [A1]+
  281. 00000328  4259                     clr.w      [A1]+
  282. 0000032A  2B49 E8AC                move.l     [A5 - 0x1754], A1
  283. 0000032E  222D EFFE                move.l     D1, [A5 - 0x1002]
  284. 00000332  C2FC                     mulu.w     D1, 0xFFFFFFFFFFFFFFFF
  285. 00000334  0400 D081                subi.b     D0, 0x81
  286. 00000338  2B40 E8B0                move.l     [A5 - 0x1750], D0
  287. 0000033C  04AD 0000 0400 E8B0      subi.l     [A5 - 0x1750], 0x400
  288. 00000344  40E7                     move.w     -[A7], SR
  289. 00000346  3F3C 0008                move.w     -[A7], 0x8
  290. label00000347: // (misaligned)
  291. 0000034A  487A 05DA                pea.l      [PC + 0x5DA /* 00000926, pstring "allocate code space" */]
  292. // begin alternate branch 0000034C-0000034E
  293. fn0000034C:
  294. 0000034C  05DA                     bset       [A2]+, D2
  295. // end alternate branch 0000034C-0000034E
  296. fn0000034C: // (misaligned)
  297. 0000034E  4EAD 0B62                jsr        [A5 + 0xB62]
  298. label00000351: // (misaligned)
  299. 00000352  2240                     movea.l    A1, D0
  300. 00000354  2B40 E894                move.l     [A5 - 0x176C], D0
  301. 00000358  52AD E894                addq.l     [A5 - 0x176C], 1
  302. 0000035C  22FC 4D42 3836           move.l     [A1]+, 0x4D423836 /* 'MB86' */
  303. 00000362  2B49 E898                move.l     [A5 - 0x1768], A1
  304. 00000366  222D F002                move.l     D1, [A5 - 0xFFE]
  305. 0000036A  C2FC                     mulu.w     D1, 0xFFFFFFFFFFFFFFFF
  306. 0000036C  0400 D081                subi.b     D0, 0x81
  307. 00000370  2B40 E89C                move.l     [A5 - 0x1764], D0
  308. 00000374  5E80                     addq.l     D0, 7
  309. 00000376  0280 FFFF FFF8           andi.l     D0, 0xFFFFFFF8
  310. 0000037C  2B40 E8C0                move.l     [A5 - 0x1740], D0
  311. 00000380  222D F006                move.l     D1, [A5 - 0xFFA]
  312. 00000384  C2FC                     mulu.w     D1, 0xFFFFFFFFFFFFFFFF
  313. 00000386  0400 D081                subi.b     D0, 0x81
  314. 0000038A  2B40 E8C8                move.l     [A5 - 0x1738], D0
  315. 0000038E  2B40 E8C4                move.l     [A5 - 0x173C], D0
  316. 00000392  04AD 0000 3000 E8C4      subi.l     [A5 - 0x173C], 0x3000 /* '0\0' */
  317. 0000039A  2B40 E8CC                move.l     [A5 - 0x1734], D0
  318. 0000039E  222D F00A                move.l     D1, [A5 - 0xFF6]
  319. 000003A2  C2FC                     mulu.w     D1, 0xFFFFFFFFFFFFFFFF
  320. 000003A4  0400 D081                subi.b     D0, 0x81
  321. 000003A8  2B40 E8D8                move.l     [A5 - 0x1728], D0
  322. 000003AC  2B40 E8D0                move.l     [A5 - 0x1730], D0
  323. 000003B0  2B40 E8D4                move.l     [A5 - 0x172C], D0
  324. 000003B4  04AD 0000 1000 E8D0      subi.l     [A5 - 0x1730], 0x1000
  325. 000003BC  04AD 0000 0400 E8D4      subi.l     [A5 - 0x172C], 0x400
  326. 000003C4  2B40 E8DC                move.l     [A5 - 0x1724], D0
  327. 000003C8  222D F00E                move.l     D1, [A5 - 0xFF2]
  328. 000003CC  C2FC                     mulu.w     D1, 0xFFFFFFFFFFFFFFFF
  329. 000003CE  0400 D081                subi.b     D0, 0x81
  330. 000003D2  2B40 E8E4                move.l     [A5 - 0x171C], D0
  331. 000003D6  2B40 E8E0                move.l     [A5 - 0x1720], D0
  332. 000003DA  04AD 0000 0400 E8E0      subi.l     [A5 - 0x1720], 0x400
  333. 000003E2  2A2D E8C0                move.l     D5, [A5 - 0x1740]
  334. 000003E6  246D E8CC                movea.l    A2, [A5 - 0x1734]
  335. 000003EA  2B6D E8DC E864           move.l     [A5 - 0x179C], [A5 - 0x1724]
  336. 000003F0  42AD E86C                clr.l      [A5 - 0x1794]
  337. 000003F4  4EAD 0CCA                jsr        [A5 + 0xCCA]
  338. 000003F8  2D6D E898 FFFC           move.l     [A6 - 0x4], [A5 - 0x1768]
  339. 000003FE  08AD 0003 E6CC           bclr.b     [A5 - 0x1934], 0x3
  340. 00000404  4FEF FFFC                lea.l      A7, [A7 - 0x4]
  341. 00000408  2F3C 434F 4445           move.l     -[A7], 0x434F4445 /* 'CODE' */
  342. 0000040E  487A 0508                pea.l      [PC + 0x508 /* 00000918, pstring "predicateCode" */]
  343. 00000412  A820                     trap       Get1NamedResource
  344. 00000414  0C78 FF40 0A60           cmpi.w     [0x00000A60 /* ResErr */], 0xFF40
  345. 0000041A  6606                     bne        +0x8 /* 00000422 */
  346. 0000041C  4278 0A60                clr.w      [0x00000A60 /* ResErr */]
  347. 00000420  6028                     bra        +0x2A /* 0000044A */
  348. label00000422:
  349. 00000422  3F38 0A60                move.w     -[A7], [0x00000A60 /* ResErr */]
  350. 00000426  6708                     beq        +0xA /* 00000430 */
  351. 00000428  487A 03FE                pea.l      [PC + 0x3FE /* 00000828 */]
  352. 0000042C  4EAD 0CD2                jsr        [A5 + 0xCD2]
  353. label00000430:
  354. 00000430  548F                     addq.l     A7, 2
  355. 00000432  08ED 0003 E6CC           bset.b     [A5 - 0x1934], 0x3
  356. 00000438  A9A3                     trap       ReleaseResource
  357. 0000043A  3F38 0A60                move.w     -[A7], [0x00000A60 /* ResErr */]
  358. 0000043E  6708                     beq        +0xA /* 00000448 */
  359. 00000440  487A 03E6                pea.l      [PC + 0x3E6 /* 00000828 */]
  360. 00000444  4EAD 0CD2                jsr        [A5 + 0xCD2]
  361. label00000448:
  362. 00000448  548F                     addq.l     A7, 2
  363. label0000044A:
  364. 0000044A  3F3C 0100                move.w     -[A7], 0x100
  365. 0000044E  2F3C 434F 4445           move.l     -[A7], 0x434F4445 /* 'CODE' */
  366. 00000454  487A 04C2                pea.l      [PC + 0x4C2 /* 00000918, pstring "predicateCode" */]
  367. 00000458  4EAD 08B2                jsr        [A5 + 0x8B2]
  368. 0000045C  2D6D E898 FFF8           move.l     [A6 - 0x8], [A5 - 0x1768]
  369. 00000462  4267                     clr.w      -[A7]
  370. 00000464  2F3C 5052 4C43           move.l     -[A7], 0x50524C43 /* 'PRLC' */
  371. 0000046A  487A 04AC                pea.l      [PC + 0x4AC /* 00000918, pstring "predicateCode" */]
  372. 0000046E  4EAD 08B2                jsr        [A5 + 0x8B2]
  373. 00000472  202D E898                move.l     D0, [A5 - 0x1768]
  374. 00000476  90AD E894                sub.l      D0, [A5 - 0x176C]
  375. 0000047A  2B40 E8A0                move.l     [A5 - 0x1760], D0
  376. 0000047E  4267                     clr.w      -[A7]
  377. 00000480  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  378. 00000484  2F3C 434F 4445           move.l     -[A7], 0x434F4445 /* 'CODE' */
  379. 0000048A  487A 0486                pea.l      [PC + 0x486 /* 00000912, pstring "names" */]
  380. 0000048E  4EAD 086A                jsr        [A5 + 0x86A]
  381. 00000492  4267                     clr.w      -[A7]
  382. 00000494  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  383. 00000498  2F3C 5052 4C43           move.l     -[A7], 0x50524C43 /* 'PRLC' */
  384. 0000049E  487A 0472                pea.l      [PC + 0x472 /* 00000912, pstring "names" */]
  385. 000004A2  4EAD 086A                jsr        [A5 + 0x86A]
  386. 000004A6  2B6D E8AC E8BC           move.l     [A5 - 0x1744], [A5 - 0x1754]
  387. 000004AC  3F3C 0112                move.w     -[A7], 0x112
  388. 000004B0  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  389. 000004B4  2F3C 434F 4445           move.l     -[A7], 0x434F4445 /* 'CODE' */
  390. 000004BA  487A 0436                pea.l      [PC + 0x436 /* 000008F2, pstring "built-in-predicate definitions" */]
  391. 000004BE  4EAD 0862                jsr        [A5 + 0x862]
  392. 000004C2  3F3C 0112                move.w     -[A7], 0x112
  393. 000004C6  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  394. 000004CA  2F3C 434F 4445           move.l     -[A7], 0x434F4445 /* 'CODE' */
  395. 000004D0  487A 0402                pea.l      [PC + 0x402 /* 000008D4, pstring "private predicate definitions" */]
  396. 000004D4  4EAD 0862                jsr        [A5 + 0x862]
  397. 000004D8  3F3C 0102                move.w     -[A7], 0x102
  398. 000004DC  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  399. 000004E0  2F3C 5052 4C43           move.l     -[A7], 0x50524C43 /* 'PRLC' */
  400. 000004E6  487A 03EC                pea.l      [PC + 0x3EC /* 000008D4, pstring "private predicate definitions" */]
  401. 000004EA  4EAD 0862                jsr        [A5 + 0x862]
  402. 000004EE  3F3C 0003                move.w     -[A7], 0x3
  403. 000004F2  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  404. 000004F6  2F3C 434F 4445           move.l     -[A7], 0x434F4445 /* 'CODE' */
  405. 000004FC  487A 03BE                pea.l      [PC + 0x3BE /* 000008BC, pstring "private predicate calls" */]
  406. 00000500  4EAD 086A                jsr        [A5 + 0x86A]
  407. 00000504  3F3C 0003                move.w     -[A7], 0x3
  408. 00000508  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  409. 0000050C  2F3C 5052 4C43           move.l     -[A7], 0x50524C43 /* 'PRLC' */
  410. 00000512  487A 03A8                pea.l      [PC + 0x3A8 /* 000008BC, pstring "private predicate calls" */]
  411. 00000516  4EAD 086A                jsr        [A5 + 0x86A]
  412. 0000051A  4EAD 08AA                jsr        [A5 + 0x8AA]
  413. 0000051E  3F3C 0111                move.w     -[A7], 0x111
  414. 00000522  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  415. 00000526  2F3C 434F 4445           move.l     -[A7], 0x434F4445 /* 'CODE' */
  416. 0000052C  487A 03C4                pea.l      [PC + 0x3C4 /* 000008F2, pstring "built-in-predicate definitions" */]
  417. 00000530  4EAD 0862                jsr        [A5 + 0x862]
  418. 00000534  3F3C 0113                move.w     -[A7], 0x113
  419. 00000538  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  420. 0000053C  2F3C 434F 4445           move.l     -[A7], 0x434F4445 /* 'CODE' */
  421. 00000542  487A 035A                pea.l      [PC + 0x35A /* 0000089E, pstring "public predicate definitions" */]
  422. 00000546  4EAD 0862                jsr        [A5 + 0x862]
  423. 0000054A  3F3C 0110                move.w     -[A7], 0x110
  424. 0000054E  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  425. 00000552  2F3C 434F 4445           move.l     -[A7], 0x434F4445 /* 'CODE' */
  426. 00000558  487A 0326                pea.l      [PC + 0x326 /* 00000880, pstring "normal predicate definitions" */]
  427. 0000055C  4EAD 0862                jsr        [A5 + 0x862]
  428. 00000560  3F3C 0101                move.w     -[A7], 0x101
  429. 00000564  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  430. 00000568  2F3C 5052 4C43           move.l     -[A7], 0x50524C43 /* 'PRLC' */
  431. 0000056E  487A 0382                pea.l      [PC + 0x382 /* 000008F2, pstring "built-in-predicate definitions" */]
  432. 00000572  4EAD 0862                jsr        [A5 + 0x862]
  433. 00000576  3F3C 0103                move.w     -[A7], 0x103
  434. 0000057A  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  435. 0000057E  2F3C 5052 4C43           move.l     -[A7], 0x50524C43 /* 'PRLC' */
  436. 00000584  487A 0318                pea.l      [PC + 0x318 /* 0000089E, pstring "public predicate definitions" */]
  437. 00000588  4EAD 0862                jsr        [A5 + 0x862]
  438. 0000058C  3F3C 0100                move.w     -[A7], 0x100
  439. 00000590  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  440. 00000594  2F3C 5052 4C43           move.l     -[A7], 0x50524C43 /* 'PRLC' */
  441. 0000059A  487A 02E4                pea.l      [PC + 0x2E4 /* 00000880, pstring "normal predicate definitions" */]
  442. 0000059E  4EAD 0862                jsr        [A5 + 0x862]
  443. 000005A2  3F3C 0002                move.w     -[A7], 0x2
  444. 000005A6  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  445. 000005AA  2F3C 434F 4445           move.l     -[A7], 0x434F4445 /* 'CODE' */
  446. 000005B0  487A 02B6                pea.l      [PC + 0x2B6 /* 00000868, pstring "public predicate calls" */]
  447. 000005B4  4EAD 086A                jsr        [A5 + 0x86A]
  448. 000005B8  3F3C 0002                move.w     -[A7], 0x2
  449. 000005BC  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  450. 000005C0  2F3C 5052 4C43           move.l     -[A7], 0x50524C43 /* 'PRLC' */
  451. 000005C6  487A 02A0                pea.l      [PC + 0x2A0 /* 00000868, pstring "public predicate calls" */]
  452. 000005CA  4EAD 086A                jsr        [A5 + 0x86A]
  453. 000005CE  2D6D E898 FFF4           move.l     [A6 - 0xC], [A5 - 0x1768]
  454. 000005D4  206D FDDC                movea.l    A0, [A5 - 0x224]
  455. 000005D8  A025                     trap       GetHandleSize
  456. 000005DA  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  457. 000005DE  6708                     beq        +0xA /* 000005E8 */
  458. 000005E0  487A 0246                pea.l      [PC + 0x246 /* 00000828 */]
  459. 000005E4  4EAD 0CD2                jsr        [A5 + 0xCD2]
  460. label000005E8:
  461. 000005E8  548F                     addq.l     A7, 2
  462. 000005EA  2600                     move.l     D3, D0
  463. 000005EC  6700 0066                beq        +0x68 /* 00000654 */
  464. 000005F0  222D E89C                move.l     D1, [A5 - 0x1764]
  465. 000005F4  92AD E898                sub.l      D1, [A5 - 0x1768]
  466. 000005F8  B280                     cmp.l      D1, D0
  467. 000005FA  6C22                     bge        +0x24 /* 0000061E */
  468. 000005FC  2F00                     move.l     -[A7], D0
  469. 000005FE  40E7                     move.w     -[A7], SR
  470. 00000600  3F3C 0009                move.w     -[A7], 0x9 /* '\t' */
  471. 00000604  487A 023E                pea.l      [PC + 0x23E /* 00000844, pstring "call stackadjust from openProlog.a" */]
  472. 00000608  4EAD 0B62                jsr        [A5 + 0xB62]
  473. 0000060C  4EAD 04B2                jsr        [A5 + 0x4B2]
  474. 00000610  670C                     beq        +0xE /* 0000061E */
  475. 00000612  3F3C 0004                move.w     -[A7], 0x4
  476. 00000616  4EAD 04FA                jsr        [A5 + 0x4FA]
  477. 0000061A  4EED 04CA                jmp        [A5 + 0x4CA]
  478. label0000061E:
  479. 0000061E  206D FDDC                movea.l    A0, [A5 - 0x224]
  480. 00000622  A029                     trap       HLock
  481. 00000624  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  482. 00000628  6708                     beq        +0xA /* 00000632 */
  483. 0000062A  487A 01FC                pea.l      [PC + 0x1FC /* 00000828 */]
  484. 0000062E  4EAD 0CD2                jsr        [A5 + 0xCD2]
  485. label00000632:
  486. 00000632  548F                     addq.l     A7, 2
  487. 00000634  2250                     movea.l    A1, [A0]
  488. 00000636  206D E898                movea.l    A0, [A5 - 0x1768]
  489. label0000063A:
  490. 0000063A  10D9                     move.b     [A0]+, [A1]+
  491. 0000063C  5383                     subq.l     D3, 1
  492. 0000063E  66FA                     bne        -0x4 /* 0000063A */
  493. 00000640  2B48 E898                move.l     [A5 - 0x1768], A0
  494. 00000644  2F2D FDD8                move.l     -[A7], [A5 - 0x228]
  495. 00000648  3F3C 0114                move.w     -[A7], 0x114
  496. 0000064C  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  497. 00000650  4EAD 0872                jsr        [A5 + 0x872]
  498. label00000654:
  499. 00000654  206D FDDC                movea.l    A0, [A5 - 0x224]
  500. 00000658  A023                     trap       DisposHandle/DisposeHandle
  501. 0000065A  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  502. 0000065E  6708                     beq        +0xA /* 00000668 */
  503. 00000660  487A 01C6                pea.l      [PC + 0x1C6 /* 00000828 */]
  504. 00000664  4EAD 0CD2                jsr        [A5 + 0xCD2]
  505. label00000668:
  506. 00000668  548F                     addq.l     A7, 2
  507. 0000066A  206D FDD8                movea.l    A0, [A5 - 0x228]
  508. 0000066E  A023                     trap       DisposHandle/DisposeHandle
  509. 00000670  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  510. 00000674  6708                     beq        +0xA /* 0000067E */
  511. 00000676  487A 01B0                pea.l      [PC + 0x1B0 /* 00000828 */]
  512. 0000067A  4EAD 0CD2                jsr        [A5 + 0xCD2]
  513. label0000067E:
  514. 0000067E  548F                     addq.l     A7, 2
  515. 00000680  52AD E956                addq.l     [A5 - 0x16AA], 1
  516. 00000684  4FEF FFFC                lea.l      A7, [A7 - 0x4]
  517. 00000688  3F3C 0080                move.w     -[A7], 0x80
  518. 0000068C  A9C0                     trap       GetNewMBar
  519. 0000068E  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  520. 00000692  6708                     beq        +0xA /* 0000069C */
  521. 00000694  487A 0192                pea.l      [PC + 0x192 /* 00000828 */]
  522. 00000698  4EAD 0CD2                jsr        [A5 + 0xCD2]
  523. label0000069C:
  524. 0000069C  548F                     addq.l     A7, 2
  525. 0000069E  A93C                     trap       SetMenuBar
  526. 000006A0  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  527. 000006A4  6708                     beq        +0xA /* 000006AE */
  528. 000006A6  487A 0180                pea.l      [PC + 0x180 /* 00000828 */]
  529. 000006AA  4EAD 0CD2                jsr        [A5 + 0xCD2]
  530. label000006AE:
  531. 000006AE  548F                     addq.l     A7, 2
  532. 000006B0  4FEF FFFC                lea.l      A7, [A7 - 0x4]
  533. 000006B4  3F3C 0080                move.w     -[A7], 0x80
  534. 000006B8  A9BF                     trap       GetRMenu
  535. 000006BA  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  536. 000006BE  6708                     beq        +0xA /* 000006C8 */
  537. 000006C0  487A 0166                pea.l      [PC + 0x166 /* 00000828 */]
  538. 000006C4  4EAD 0CD2                jsr        [A5 + 0xCD2]
  539. label000006C8:
  540. 000006C8  548F                     addq.l     A7, 2
  541. 000006CA  2F3C 4452 5652           move.l     -[A7], 0x44525652 /* 'DRVR' */
  542. 000006D0  A94D                     trap       AppendResMenu/AddResMenu
  543. 000006D2  4FEF FFFC                lea.l      A7, [A7 - 0x4]
  544. 000006D6  3F3C 00AF                move.w     -[A7], 0xAF
  545. 000006DA  A9BF                     trap       GetRMenu
  546. 000006DC  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  547. 000006E0  6708                     beq        +0xA /* 000006EA */
  548. 000006E2  487A 0144                pea.l      [PC + 0x144 /* 00000828 */]
  549. 000006E6  4EAD 0CD2                jsr        [A5 + 0xCD2]
  550. label000006EA:
  551. 000006EA  548F                     addq.l     A7, 2
  552. 000006EC  2F3C 464F 4E54           move.l     -[A7], 0x464F4E54 /* 'FONT' */
  553. 000006F2  A94D                     trap       AppendResMenu/AddResMenu
  554. 000006F4  A032                     trap       FlushEvents
  555. 000006F6  383C 0006                move.w     D4, 0x6
  556. 000006FA  6B3A                     bmi        +0x3C /* 00000736 */
  557. 000006FC  263C 0000 00AA           move.l     D3, 0xAA
  558. label00000702:
  559. 00000702  4FEF FFFC                lea.l      A7, [A7 - 0x4]
  560. 00000706  3F03                     move.w     -[A7], D3
  561. 00000708  A9BF                     trap       GetRMenu
  562. 0000070A  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  563. 0000070E  6708                     beq        +0xA /* 00000718 */
  564. 00000710  487A 0116                pea.l      [PC + 0x116 /* 00000828 */]
  565. 00000714  4EAD 0CD2                jsr        [A5 + 0xCD2]
  566. label00000718:
  567. 00000718  548F                     addq.l     A7, 2
  568. 0000071A  3F3C FFFF                move.w     -[A7], 0xFFFF
  569. 0000071E  A935                     trap       InsertMenu
  570. 00000720  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  571. 00000724  6708                     beq        +0xA /* 0000072E */
  572. 00000726  487A 0100                pea.l      [PC + 0x100 /* 00000828 */]
  573. 0000072A  4EAD 0CD2                jsr        [A5 + 0xCD2]
  574. label0000072E:
  575. 0000072E  548F                     addq.l     A7, 2
  576. 00000730  5283                     addq.l     D3, 1
  577. 00000732  51CC FFCE                dbf        D4, -0x34 /* 00000702 */
  578. label00000736:
  579. 00000736  4FEF FFFC                lea.l      A7, [A7 - 0x4]
  580. 0000073A  A8D8                     trap       NewRgn
  581. 0000073C  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  582. 00000740  6708                     beq        +0xA /* 0000074A */
  583. 00000742  487A 00E4                pea.l      [PC + 0xE4 /* 00000828 */]
  584. 00000746  4EAD 0CD2                jsr        [A5 + 0xCD2]
  585. label0000074A:
  586. 0000074A  548F                     addq.l     A7, 2
  587. 0000074C  2B57 E96A                move.l     [A5 - 0x1696], [A7]
  588. 00000750  A8DD                     trap       SetEmptyRgn
  589. 00000752  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  590. 00000756  6708                     beq        +0xA /* 00000760 */
  591. 00000758  487A 00CE                pea.l      [PC + 0xCE /* 00000828 */]
  592. 0000075C  4EAD 0CD2                jsr        [A5 + 0xCD2]
  593. label00000760:
  594. 00000760  548F                     addq.l     A7, 2
  595. 00000762  426D E96E                clr.w      [A5 - 0x1692]
  596. 00000766  4FEF FFFC                lea.l      A7, [A7 - 0x4]
  597. 0000076A  2F3C 6163 7572           move.l     -[A7], 0x61637572 /* 'acur' */
  598. 00000770  3F3C 0096                move.w     -[A7], 0x96
  599. 00000774  A9A0                     trap       GetResource
  600. 00000776  2B5F FDE6                move.l     [A5 - 0x21A], [A7]+
  601. 0000077A  4FEF FFFC                lea.l      A7, [A7 - 0x4]
  602. 0000077E  3F3C 0083                move.w     -[A7], 0x83
  603. 00000782  3F3C 0003                move.w     -[A7], 0x3
  604. 00000786  4EAD 0BB2                jsr        [A5 + 0xBB2]
  605. 0000078A  2B5F FDF2                move.l     [A5 - 0x20E], [A7]+
  606. 0000078E  4FEF FFFC                lea.l      A7, [A7 - 0x4]
  607. 00000792  3F3C 0083                move.w     -[A7], 0x83
  608. 00000796  3F3C 0004                move.w     -[A7], 0x4
  609. 0000079A  4EAD 0BB2                jsr        [A5 + 0xBB2]
  610. 0000079E  2B5F FDF6                move.l     [A5 - 0x20A], [A7]+
  611. 000007A2  42AD FDEA                clr.l      [A5 - 0x216]
  612. 000007A6  2B78 016A CEDC           move.l     [A5 - 0x3124], [0x0000016A /* Ticks */]
  613. 000007AC  426D FEFA                clr.w      [A5 - 0x106]
  614. 000007B0  4EAD 003A                jsr        [A5 + 0x3A]
  615. 000007B4  4FEF FFFE                lea.l      A7, [A7 - 0x2]
  616. 000007B8  4EAD 09E2                jsr        [A5 + 0x9E2]
  617. 000007BC  3B5F E95E                move.w     [A5 - 0x16A2], [A7]+
  618. 000007C0  2F3C 0000 000C           move.l     -[A7], 0xC
  619. 000007C6  42A7                     clr.l      -[A7]
  620. 000007C8  42A7                     clr.l      -[A7]
  621. 000007CA  3F3C 0012                move.w     -[A7], 0x12
  622. 000007CE  4EAD 085A                jsr        [A5 + 0x85A]
  623. 000007D2  201F                     move.l     D0, [A7]+
  624. 000007D4  A937                     trap       DrawMenuBar
  625. 000007D6  3F38 0220                move.w     -[A7], [0x00000220 /* MemErr */]
  626. 000007DA  6708                     beq        +0xA /* 000007E4 */
  627. 000007DC  487A 004A                pea.l      [PC + 0x4A /* 00000828 */]
  628. 000007E0  4EAD 0CD2                jsr        [A5 + 0xCD2]
  629. label000007E4:
  630. 000007E4  548F                     addq.l     A7, 2
  631. 000007E6  4EAD 0B0A                jsr        [A5 + 0xB0A]
  632. 000007EA  41ED E6F4                lea.l      A0, [A5 - 0x190C]
  633. 000007EE  2008                     move.l     D0, A0
  634. 000007F0  671C                     beq        +0x1E /* 0000080E */
  635. 000007F2  2040                     movea.l    A0, D0
  636. 000007F4  2028 0098                move.l     D0, [A0 + 0x98]
  637. 000007F8  6714                     beq        +0x16 /* 0000080E */
  638. 000007FA  C188                     exg        D0, A0
  639. 000007FC  2F3C 0000 000C           move.l     -[A7], 0xC
  640. 00000802  2F00                     move.l     -[A7], D0
  641. 00000804  42A7                     clr.l      -[A7]
  642. 00000806  3F3C 000B                move.w     -[A7], 0xB
  643. 0000080A  4E90                     jsr        [A0]
  644. 0000080C  201F                     move.l     D0, [A7]+
  645. label0000080E:
  646. 0000080E  422D FDB0                clr.b      [A5 - 0x250]
  647. 00000812  422D EFF0                clr.b      [A5 - 0x1010]
  648. 00000816  08ED 0002 E862           bset.b     [A5 - 0x179E], 0x2
  649. 0000081C  2B7C FFFF FFFF F520      move.l     [A5 - 0xAE0], 0xFFFFFFFF
  650. 00000824  4E5E                     unlink     A6
  651. 00000826  4E75                     rts
  652. 00000828  9850                     sub.w      D4, [A0]
  653. 0000082A  4F53                     chk.w      D7, [A3]
  654. 0000082C  5441                     addq.w     D1, 2
  655. 0000082E  4C4C 4F43                movem.l    A6,A3,A2,A1,A0,D6,D1,D0, A4
  656. 00000832  4154                     chk.w      D0, [A4]
  657. 00000834  494F                     chk.w      D4, A7
  658. 00000836  4E49                     trap       9
  659. 00000838  4E49                     trap       9
  660. 0000083A  5449                     addq.w     A1, 2
  661. 0000083C  414C                     chk.w      D0, A4
  662. 0000083E  4953                     chk.w      D4, [A3]
  663. 00000840  4520                     .invalid   2, -[A0] // invalid opcode 4 with b == 4
  664. 00000842  0000 2263                ori.b      D0, 0x63 /* 'c' */
  665. 00000846  616C                     bsr        +0x6E /* 000008B4 */
  666. 00000848  6C20                     bge        +0x22 /* 0000086A */
  667. 0000084A  7374                     moveq.l    D1, 0x74
  668. 0000084C  6163                     bsr        +0x65 /* 000008B1 */
  669. 0000084E  6B61                     bmi        +0x63 /* 000008B1 */
  670. 00000850  646A                     bcc        +0x6C /* 000008BC */
  671. 00000852  7573                     moveq.l    D2, 0x73
  672. 00000854  7420                     moveq.l    D2, 0x20
  673. 00000856  6672                     bne        +0x74 /* 000008CA */
  674. 00000858  6F6D                     ble        +0x6F /* 000008C7 */
  675. 0000085A  206F 7065                movea.l    A0, [A7 + 0x7065]
  676. 0000085E  6E50                     bgt        +0x52 /* 000008B0 */
  677. 00000860  726F                     moveq.l    D1, 0x6F
  678. 00000862  6C6F                     bge        +0x71 /* 000008D3 */
  679. 00000864  672E                     beq        +0x30 /* 00000894 */
  680. 00000866  6100 1670                bsr        +0x1672 /* 00001ED8 */
  681. label0000086A:
  682. 0000086A  7562                     moveq.l    D2, 0x62
  683. 0000086C  6C69                     bge        +0x6B /* 000008D7 */
  684. 0000086E  6320                     bls        +0x22 /* 00000890 */
  685. 00000870  7072                     moveq.l    D0, 0x72
  686. 00000872  6564                     bcs        +0x66 /* 000008D8 */
  687. 00000874  6963                     bvs        +0x65 /* 000008D9 */
  688. 00000876  6174                     bsr        +0x76 /* 000008EC */
  689. 00000878  6520                     bcs        +0x22 /* 0000089A */
  690. 0000087A  6361                     bls        +0x63 /* 000008DD */
  691. 0000087C  6C6C                     bge        +0x6E /* 000008EA */
  692. 0000087E  7300                     moveq.l    D1, 0x00
  693. 00000880  1C6E 6F72                movea.b    A6, [A6 + 0x6F72]
  694. 00000884  6D61                     blt        +0x63 /* 000008E7 */
  695. 00000886  6C20                     bge        +0x22 /* 000008A8 */
  696. 00000888  7072                     moveq.l    D0, 0x72
  697. 0000088A  6564                     bcs        +0x66 /* 000008F0 */
  698. 0000088C  6963                     bvs        +0x65 /* 000008F1 */
  699. 0000088E  6174                     bsr        +0x76 /* 00000904 */
  700. label00000890:
  701. 00000890  6520                     bcs        +0x22 /* 000008B2 */
  702. 00000892  6465                     bcc        +0x67 /* 000008F9 */
  703. label00000894:
  704. 00000894  6669                     bne        +0x6B /* 000008FF */
  705. 00000896  6E69                     bgt        +0x6B /* 00000901 */
  706. 00000898  7469                     moveq.l    D2, 0x69
  707. label0000089A:
  708. 0000089A  6F6E                     ble        +0x70 /* 0000090A */
  709. 0000089C  7300                     moveq.l    D1, 0x00
  710. 0000089E  1C70 7562 6C69 6320      movea.b    A6, [[A0 + 0x6C69] + 0x6320]
  711. 000008A6  7072                     moveq.l    D0, 0x72
  712. label000008A8:
  713. 000008A8  6564                     bcs        +0x66 /* 0000090E */
  714. 000008AA  6963                     bvs        +0x65 /* 0000090F */
  715. 000008AC  6174                     bsr        +0x76 /* 00000922 */
  716. 000008AE  6520                     bcs        +0x22 /* 000008D0 */
  717. label000008B0:
  718. 000008B0  6465                     bcc        +0x67 /* 00000917 */
  719. fn000008B1: // (misaligned)
  720. label000008B2:
  721. 000008B2  6669                     bne        +0x6B /* 0000091D */
  722. fn000008B4:
  723. 000008B4  6E69                     bgt        +0x6B /* 0000091F */
  724. 000008B6  7469                     moveq.l    D2, 0x69
  725. 000008B8  6F6E                     ble        +0x70 /* 00000928 */
  726. 000008BA  7300                     moveq.l    D1, 0x00
  727. label000008BC:
  728. 000008BC  1770 7269 7661           move.b     [A3 + 0x7661], [A0 + D7.w * 2 + 0x69]
  729. 000008C2  7465                     moveq.l    D2, 0x65
  730. 000008C4  2070 7265                movea.l    A0, [A0 + D7.w * 2 + 0x65]
  731. label000008C7: // (misaligned)
  732. 000008C8  6469                     bcc        +0x6B /* 00000933 */
  733. label000008CA:
  734. 000008CA  6361                     bls        +0x63 /* 0000092D */
  735. 000008CC  7465                     moveq.l    D2, 0x65
  736. 000008CE  2063                     movea.l    A0, -[A3]
  737. label000008D0:
  738. 000008D0  616C                     bsr        +0x6E /* 0000093E */
  739. 000008D2  6C73                     bge        +0x75 /* 00000947 */
  740. label000008D3: // (misaligned)
  741. 000008D4  1D70 7269 7661           move.b     [A6 + 0x7661], [A0 + D7.w * 2 + 0x69]
  742. // begin alternate branch 000008D8-000008DA
  743. label000008D8:
  744. 000008D8  7661                     moveq.l    D3, 0x61
  745. // end alternate branch 000008D8-000008DA
  746. label000008D7: // (misaligned)
  747. label000008D8: // (misaligned)
  748. label000008D9: // (misaligned)
  749. 000008DA  7465                     moveq.l    D2, 0x65
  750. 000008DC  2070 7265                movea.l    A0, [A0 + D7.w * 2 + 0x65]
  751. label000008DD: // (misaligned)
  752. 000008E0  6469                     bcc        +0x6B /* 0000094B */
  753. 000008E2  6361                     bls        +0x63 /* 00000945 */
  754. 000008E4  7465                     moveq.l    D2, 0x65
  755. 000008E6  2064                     movea.l    A0, -[A4]
  756. label000008E7: // (misaligned)
  757. 000008E8  6566                     bcs        +0x68 /* 00000950 */
  758. label000008EA:
  759. 000008EA  696E                     bvs        +0x70 /* 0000095A */
  760. fn000008EC:
  761. 000008EC  6974                     bvs        +0x76 /* 00000962 */
  762. 000008EE  696F                     bvs        +0x71 /* 0000095F */
  763. label000008F0:
  764. 000008F0  6E73                     bgt        +0x75 /* 00000965 */
  765. label000008F1: // (misaligned)
  766. 000008F2  1E62                     movea.b    A7, -[A2]
  767. 000008F4  7569                     moveq.l    D2, 0x69
  768. 000008F6  6C74                     bge        +0x76 /* 0000096C */
  769. 000008F8  2D69 6E2D 7072           move.l     [A6 + 0x7072], [A1 + 0x6E2D]
  770. label000008F9: // (misaligned)
  771. 000008FE  6564                     bcs        +0x66 /* 00000964 */
  772. label000008FF: // (misaligned)
  773. 00000900  6963                     bvs        +0x65 /* 00000965 */
  774. label00000901: // (misaligned)
  775. 00000902  6174                     bsr        +0x76 /* 00000978 */
  776. fn00000904:
  777. 00000904  6520                     bcs        +0x22 /* 00000926 */
  778. 00000906  6465                     bcc        +0x67 /* 0000096D */
  779. 00000908  6669                     bne        +0x6B /* 00000973 */
  780. label0000090A:
  781. 0000090A  6E69                     bgt        +0x6B /* 00000975 */
  782. 0000090C  7469                     moveq.l    D2, 0x69
  783. label0000090E:
  784. 0000090E  6F6E                     ble        +0x70 /* 0000097E */
  785. label0000090F: // (misaligned)
  786. 00000910  7300                     moveq.l    D1, 0x00
  787. 00000912  056E 616D                bchg       [A6 + 0x616D], D2
  788. 00000916  6573                     bcs        +0x75 /* 0000098B */
  789. label00000917: // (misaligned)
  790. 00000918  0D70 7265                bchg       [A0 + D7.w * 2 + 0x65], D6
  791. 0000091C  6469                     bcc        +0x6B /* 00000987 */
  792. label0000091D: // (misaligned)
  793. 0000091E  6361                     bls        +0x63 /* 00000981 */
  794. label0000091F: // (misaligned)
  795. 00000920  7465                     moveq.l    D2, 0x65
  796. fn00000922:
  797. 00000922  436F 6465                chk.w      D1, [A7 + 0x6465]
  798. label00000926:
  799. 00000926  1361 6C6C                move.b     [A1 + 0x6C6C], -[A1]
  800. // begin alternate branch 00000928-0000092A
  801. label00000928:
  802. 00000928  6C6C                     bge        +0x6E /* 00000996 */
  803. // end alternate branch 00000928-0000092A
  804. label00000928: // (misaligned)
  805. 0000092A  6F63                     ble        +0x65 /* 0000098F */
  806. 0000092C  6174                     bsr        +0x76 /* 000009A2 */
  807. label0000092D: // (misaligned)
  808. 0000092E  6520                     bcs        +0x22 /* 00000950 */
  809. 00000930  636F                     bls        +0x71 /* 000009A1 */
  810. 00000932  6465                     bcc        +0x67 /* 00000999 */
  811. label00000933: // (misaligned)
  812. 00000934  2073 7061                movea.l    A0, [A3 + D7.w + 0x61]
  813. 00000938  6365                     bls        +0x67 /* 0000099F */
  814.